/*
 *    line drawing sample program: drawing functions
 *
 *    Copyright (C) 2002-2003 by Personal Media Corporation
 */

#include <device/screen.h>

#define BLACK 255
#define WHITE 0
#define GRAY 247
#define PINK 110
IMPORT const COLOR colormap[256];

IMPORT int in_rect( int, int, RECT* );
IMPORT void draw_line( int, int, int, int, int, BMP* );
IMPORT void fill_rect( int, int, int, int, int, BMP* );
IMPORT void draw_text( char*, int, int, int, BMP* );
IMPORT void draw_text_vn( char*, int, int, int, BMP* );
IMPORT void draw_btn( RECT*, char *, int,int , BMP* );
IMPORT void draw_btn1( RECT*, char *, int,int , BMP* );
IMPORT void draw_char(int pos,int x, int y, int c, BMP *p_bmp );
IMPORT void draw( int x, int y, long c, BMP *p_bmp);
